#include <iostream>

double celsius2Fahrenheit(double celsius);

int main() {
    using namespace std;
    double celsius = 0;
    cout << "Please enter a Celsius value: ";
    cin >> celsius;
    cout << celsius << " degrees Celsius is " << celsius2Fahrenheit(celsius) << " degrees Fahrenheit.";
    return 0;
}

double celsius2Fahrenheit(double celsius) {
    return 1.8 * celsius + 32.0;
}